home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / Prog / B-C / C++Source Code Fmtr Folder / Makefile < prev    next >
Encoding:
Makefile  |  1992-04-27  |  8.2 KB  |  359 lines  |  [TEXT/MPS ]

  1. #   File:       Makefile
  2. #   Target:     cdent
  3.  
  4. CurDir        =    :
  5. SrcDir        =    {CurDir}Src:
  6. ObjDir        =    {CurDir}Objects:
  7. MAKEFILE    =    {CurDir}Makefile
  8. cdent        =    {CurDir}cdent
  9.  
  10. All            ƒ    {cdent}
  11. cdent        ƒ    {cdent}
  12.  
  13.  
  14. #-------------------------------------------------------------------------------
  15.  
  16. SOURCES        =    ∂
  17.                 {SrcDir}cdent.cp            ∂
  18.                 {SrcDir}CScanner.cp            ∂
  19.                 {SrcDir}DataArea.cp            ∂
  20.                 {SrcDir}DFile.cp            ∂
  21.                 {SrcDir}FormatLog.cp        ∂
  22.                 {SrcDir}FormatStrings.cp    ∂
  23.                 {SrcDir}Formatting.cp        ∂
  24.                 {SrcDir}HandleManager.cp    ∂
  25.                 {SrcDir}Parser.cp            ∂
  26.                 {SrcDir}ParserActions.cp    ∂
  27.                 {SrcDir}Stack.cp            ∂
  28.                 {SrcDir}StdFile.cp            ∂
  29.                 {SrcDir}Vector.cp
  30.  
  31. OBJECTS        =    ∂
  32.                 {ObjDir}cdent.cp.o            ∂
  33.                 {ObjDir}FormatLog.cp.o        ∂
  34.                 {ObjDir}CScanner.cp.o        ∂
  35.                 {ObjDir}DataArea.cp.o        ∂
  36.                 {ObjDir}DFile.cp.o            ∂
  37.                 {ObjDir}FormatStrings.cp.o    ∂
  38.                 {ObjDir}Formatting.cp.o        ∂
  39.                 {ObjDir}HandleManager.cp.o    ∂
  40.                 {ObjDir}Parser.cp.o            ∂
  41.                 {ObjDir}ParserActions.cp.o    ∂
  42.                 {ObjDir}Stack.cp.o            ∂
  43.                 {ObjDir}StdFile.cp.o        ∂
  44.                 {ObjDir}Vector.cp.o
  45.  
  46. LIBRARY        =    "{CLibraries}"CPlusLib.o    ∂
  47.                 "{CLibraries}"StdCLib.o        ∂
  48.                 "{Libraries}"Runtime.o        ∂
  49.                 "{Libraries}"Interface.o    ∂
  50.                 "{Libraries}"ToolLibs.o
  51.  
  52. COPTIONS    =    -r -sym full -warnings full
  53.  
  54. LDFLAGS        =    ∂
  55.             -sn "SADEV=Main"        ∂
  56.             -sn "STDIO=Main"        ∂
  57.             -sn "STDCLIB=Main"        ∂
  58.             -sn "SANELIB=Main"        ∂
  59.             -sn "INTENV=Main"        ∂
  60.             -sn "DataArea=Main"        ∂
  61.             -sn "Stack=Main"        ∂
  62.             -sn "StdFile=Main"        ∂
  63.             -sn "Vector=Main"        ∂
  64.             -sn "CScanner=ToolMain"        ∂
  65.             -sn "Formatting=ToolMain"    ∂
  66.             -sn "FormatLog=ToolMain"    ∂
  67.             #-sn "Parser=ToolMain"        ∂
  68.             -sn "ParserActions=Parser"    ∂
  69.             -d -c 'MPS ' -t 'MPST'
  70.  
  71. #-------------------------------------------------------------------------------
  72.  
  73. {ObjDir}    ƒ    {SrcDir}
  74.  
  75. #-------------------------------------------------------------------------------
  76.  
  77. {cdent}        ƒƒ    {OBJECTS}
  78.     Link -o {Targ}                    ∂
  79.         {LDFLAGS}                    ∂
  80.         {OBJECTS}                    ∂
  81.         {LIBRARY}
  82.  
  83. {cdent}        ƒƒ    {SrcDir}cdent.r        ∂
  84.                 {SrcDir}FormatStrings.def.h
  85.     Rez -m -a -o {Targ} {RIncludes}Cmdo.r -i {SrcDir} {SrcDir}cdent.r
  86.  
  87.  
  88.  
  89. #-------------------------------------------------------------------------------
  90.  
  91. MunchTools                    ƒ    {cdent}
  92.     Duplicate -y {NewerDeps} {MPW}MunchTools
  93.  
  94. clean                    ƒ
  95.     delete -i `files -t 'OBJ ' "{ObjDir}"`    ∂
  96.         {SrcDir}cdent.SYM
  97.  
  98. #-------------------------------------------------------------------------------
  99.  
  100. {ObjDir}cdent.cp.o            ƒ    {SrcDir}cdent.cp
  101.  
  102. {ObjDir}CScanner.cp.o        ƒ    {SrcDir}CScanner.cp
  103.  
  104. {ObjDir}DataArea.cp.o        ƒ    {SrcDir}DataArea.cp
  105.  
  106. {ObjDir}DFile.cp.o            ƒ    {SrcDir}DFile.cp
  107.  
  108. {ObjDir}FormatLog.cp.o        ƒ    {SrcDir}FormatLog.cp
  109.     # Remove this when CFront is fixed
  110.     CPlus -sym on -mf {SrcDir}FormatLog.cp -o {ObjDir}FormatLog.cp.o -fx 51
  111.  
  112. {ObjDir}FormatStrings.cp.o    ƒ    {SrcDir}FormatStrings.cp
  113.  
  114. {ObjDir}Formatting.cp.o        ƒ    {SrcDir}Formatting.cp
  115.  
  116. {ObjDir}HandleManager.cp.o    ƒ    {SrcDir}HandleManager.cp
  117.  
  118. {ObjDir}Parser.cp.o            ƒ    {SrcDir}Parser.cp
  119.  
  120. {ObjDir}ParserActions.cp.o    ƒ    {SrcDir}ParserActions.cp
  121.  
  122. {ObjDir}Stack.cp.o            ƒ    {SrcDir}Stack.cp
  123.  
  124. {ObjDir}StdFile.cp.o        ƒ    {SrcDir}StdFile.cp
  125.  
  126. {ObjDir}Vector.cp.o            ƒ    {SrcDir}Vector.cp
  127.  
  128. #-------------------------------------------------------------------------------
  129.  
  130. Makefile        ƒ    $OutOfDate
  131.     MakeDepend                ∂
  132.         -append {MAKEFILE}    ∂
  133.         MAKEFILE={MAKEFILE}    ∂
  134.         CurDir={CurDir}        ∂
  135.         SrcDir={SrcDir}        ∂
  136.         ObjDir={ObjDir}        ∂
  137.         cdent={cdent}        ∂
  138.         -ic '{SrcDir}'        ∂
  139.         -objdir '{ObjDir}'    ∂
  140.         -t    '{cdent}'        ∂
  141.             {SOURCES}
  142.  
  143. #*** Dependencies: Cut here ***
  144.  
  145. # This makefile was produced at 8:39:42 PM on Mon, Apr 27, 1992 by
  146. # MakeDepend
  147.  
  148. "{ObjDir}cdent.cp.o"    ƒ ∂
  149.     "{SrcDir}cdent.cp" ∂
  150.     "{CIncludes}ctype.h" ∂
  151.     "{CIncludes}stdlib.h" ∂
  152.     "{CIncludes}stdarg.h" ∂
  153.     "{CIncludes}segload.h" ∂
  154.     "{CIncludes}new.h" ∂
  155.     "{CIncludes}CursorCtl.h" ∂
  156.     "{SrcDir}Stack.h" ∂
  157.     "{SrcDir}StdFile.h" ∂
  158.     "{SrcDir}Parser.h" ∂
  159.     "{SrcDir}Formatting.h" ∂
  160.     "{SrcDir}FormatStrings.h" ∂
  161.     "{SrcDir}CScanner.h" ∂
  162.     "{SrcDir}FormatLog.h" ∂
  163.     "{SrcDir}DFile.h" ∂
  164.     "{SrcDir}cdent.h" ∂
  165.     "{CIncludes}types.h" ∂
  166.     "{CIncludes}stddef.h" ∂
  167.     "{SrcDir}Vector.h" ∂
  168.     "{CIncludes}stdio.h" ∂
  169.     "{SrcDir}Syntactic.h" ∂
  170.     "{CIncludes}string.h" ∂
  171.     "{SrcDir}DataArea.h" ∂
  172.     "{CIncludes}memory.h" ∂
  173.     "{SrcDir}HandleManager.h"
  174.  
  175. "{ObjDir}CScanner.cp.o"    ƒ ∂
  176.     "{SrcDir}CScanner.cp" ∂
  177.     "{CIncludes}string.h" ∂
  178.     "{CIncludes}stdio.h" ∂
  179.     "{CIncludes}ctype.h" ∂
  180.     "{SrcDir}Formatting.h" ∂
  181.     "{SrcDir}CScanner.h" ∂
  182.     "{CIncludes}new.h" ∂
  183.     "{SrcDir}DFile.h" ∂
  184.     "{SrcDir}FormatStrings.h" ∂
  185.     "{SrcDir}DataArea.h" ∂
  186.     "{CIncludes}types.h" ∂
  187.     "{SrcDir}Syntactic.h" ∂
  188.     "{CIncludes}stddef.h" ∂
  189.     "{SrcDir}StdFile.h" ∂
  190.     "{CIncludes}memory.h" ∂
  191.     "{SrcDir}HandleManager.h" ∂
  192.     "{CIncludes}stdlib.h"
  193.  
  194. "{ObjDir}DataArea.cp.o"    ƒ ∂
  195.     "{SrcDir}DataArea.cp" ∂
  196.     "{CIncludes}osutils.h" ∂
  197.     "{CIncludes}errors.h" ∂
  198.     "{SrcDir}DataArea.h" ∂
  199.     "{CIncludes}types.h" ∂
  200.     "{CIncludes}stddef.h" ∂
  201.     "{CIncludes}memory.h" ∂
  202.     "{SrcDir}HandleManager.h"
  203.  
  204. "{ObjDir}DFile.cp.o"    ƒ ∂
  205.     "{SrcDir}DFile.cp" ∂
  206.     "{CIncludes}string.h" ∂
  207.     "{SrcDir}DFile.h" ∂
  208.     "{SrcDir}cdent.h" ∂
  209.     "{SrcDir}StdFile.h" ∂
  210.     "{SrcDir}DataArea.h" ∂
  211.     "{CIncludes}stdlib.h" ∂
  212.     "{CIncludes}stdio.h" ∂
  213.     "{CIncludes}types.h" ∂
  214.     "{CIncludes}stddef.h" ∂
  215.     "{CIncludes}memory.h" ∂
  216.     "{SrcDir}HandleManager.h"
  217.  
  218. "{ObjDir}FormatLog.cp.o"    ƒ ∂
  219.     "{SrcDir}FormatLog.cp" ∂
  220.     "{CIncludes}osutils.h" ∂
  221.     "{SrcDir}Syntactic.h" ∂
  222.     "{SrcDir}Formatting.h" ∂
  223.     "{SrcDir}FormatLog.h" ∂
  224.     "{SrcDir}cdent.h" ∂
  225.     "{CIncludes}types.h" ∂
  226.     "{CIncludes}string.h" ∂
  227.     "{CIncludes}new.h" ∂
  228.     "{SrcDir}DFile.h" ∂
  229.     "{SrcDir}FormatStrings.h" ∂
  230.     "{SrcDir}DataArea.h" ∂
  231.     "{SrcDir}CScanner.h" ∂
  232.     "{SrcDir}StdFile.h" ∂
  233.     "{CIncludes}stddef.h" ∂
  234.     "{CIncludes}memory.h" ∂
  235.     "{SrcDir}HandleManager.h" ∂
  236.     "{CIncludes}stdio.h" ∂
  237.     "{CIncludes}stdlib.h"
  238.  
  239. "{ObjDir}FormatStrings.cp.o"    ƒ ∂
  240.     "{SrcDir}FormatStrings.cp" ∂
  241.     "{CIncludes}string.h" ∂
  242.     "{SrcDir}FormatStrings.def.h" ∂
  243.     "{SrcDir}FormatStrings.h" ∂
  244.     "{CIncludes}types.h"
  245.  
  246. "{ObjDir}Formatting.cp.o"    ƒ ∂
  247.     "{SrcDir}Formatting.cp" ∂
  248.     "{CIncludes}memory.h" ∂
  249.     "{CIncludes}ctype.h" ∂
  250.     "{SrcDir}ParserActions.h" ∂
  251.     "{SrcDir}Formatting.h" ∂
  252.     "{SrcDir}FormatLog.h" ∂
  253.     "{SrcDir}CScanner.h" ∂
  254.     "{SrcDir}cdent.h" ∂
  255.     "{CIncludes}types.h" ∂
  256.     "{SrcDir}Parser.h" ∂
  257.     "{CIncludes}string.h" ∂
  258.     "{CIncludes}new.h" ∂
  259.     "{SrcDir}DFile.h" ∂
  260.     "{SrcDir}FormatStrings.h" ∂
  261.     "{SrcDir}DataArea.h" ∂
  262.     "{SrcDir}StdFile.h" ∂
  263.     "{CIncludes}stdio.h" ∂
  264.     "{SrcDir}Syntactic.h" ∂
  265.     "{SrcDir}Stack.h" ∂
  266.     "{CIncludes}stddef.h" ∂
  267.     "{SrcDir}HandleManager.h" ∂
  268.     "{CIncludes}stdlib.h" ∂
  269.     "{SrcDir}Vector.h"
  270.  
  271. "{ObjDir}HandleManager.cp.o"    ƒ ∂
  272.     "{SrcDir}HandleManager.cp" ∂
  273.     "{CIncludes}osutils.h" ∂
  274.     "{CIncludes}memory.h" ∂
  275.     "{SrcDir}HandleManager.h" ∂
  276.     "{CIncludes}types.h" ∂
  277.     "{CIncludes}stddef.h"
  278.  
  279. "{ObjDir}Parser.cp.o"    ƒ ∂
  280.     "{SrcDir}Parser.cp" ∂
  281.     "{CIncludes}string.h" ∂
  282.     "{CIncludes}new.h" ∂
  283.     "{SrcDir}Stack.h" ∂
  284.     "{SrcDir}cdent.h" ∂
  285.     "{SrcDir}Formatting.h" ∂
  286.     "{SrcDir}CScanner.h" ∂
  287.     "{SrcDir}ParserActions.h" ∂
  288.     "{SrcDir}Parser.h" ∂
  289.     "{CIncludes}stddef.h" ∂
  290.     "{SrcDir}Vector.h" ∂
  291.     "{SrcDir}DFile.h" ∂
  292.     "{SrcDir}FormatStrings.h" ∂
  293.     "{SrcDir}DataArea.h" ∂
  294.     "{CIncludes}types.h" ∂
  295.     "{CIncludes}stdio.h" ∂
  296.     "{SrcDir}Syntactic.h" ∂
  297.     "{SrcDir}StdFile.h" ∂
  298.     "{CIncludes}memory.h" ∂
  299.     "{SrcDir}HandleManager.h" ∂
  300.     "{CIncludes}stdlib.h"
  301.  
  302. "{ObjDir}ParserActions.cp.o"    ƒ ∂
  303.     "{SrcDir}ParserActions.cp" ∂
  304.     "{CIncludes}string.h" ∂
  305.     "{SrcDir}cdent.h" ∂
  306.     "{SrcDir}Formatting.h" ∂
  307.     "{SrcDir}CScanner.h" ∂
  308.     "{SrcDir}ParserActions.h" ∂
  309.     "{CIncludes}new.h" ∂
  310.     "{SrcDir}DFile.h" ∂
  311.     "{SrcDir}FormatStrings.h" ∂
  312.     "{SrcDir}DataArea.h" ∂
  313.     "{CIncludes}types.h" ∂
  314.     "{CIncludes}stdio.h" ∂
  315.     "{SrcDir}Syntactic.h" ∂
  316.     "{SrcDir}Parser.h" ∂
  317.     "{CIncludes}stddef.h" ∂
  318.     "{SrcDir}StdFile.h" ∂
  319.     "{CIncludes}memory.h" ∂
  320.     "{SrcDir}HandleManager.h" ∂
  321.     "{SrcDir}Stack.h" ∂
  322.     "{CIncludes}stdlib.h" ∂
  323.     "{SrcDir}Vector.h"
  324.  
  325. "{ObjDir}Stack.cp.o"    ƒ ∂
  326.     "{SrcDir}Stack.cp" ∂
  327.     "{SrcDir}Stack.h" ∂
  328.     "{SrcDir}Vector.h" ∂
  329.     "{CIncludes}types.h" ∂
  330.     "{SrcDir}DataArea.h" ∂
  331.     "{CIncludes}stddef.h" ∂
  332.     "{CIncludes}memory.h" ∂
  333.     "{SrcDir}HandleManager.h"
  334.  
  335. "{ObjDir}StdFile.cp.o"    ƒ ∂
  336.     "{SrcDir}StdFile.cp" ∂
  337.     "{CIncludes}stdarg.h" ∂
  338.     "{CIncludes}ioctl.h" ∂
  339.     "{CIncludes}files.h" ∂
  340.     "{CIncludes}fcntl.h" ∂
  341.     "{SrcDir}StdFile.h" ∂
  342.     "{CIncludes}segload.h" ∂
  343.     "{CIncludes}osutils.h" ∂
  344.     "{CIncludes}types.h" ∂
  345.     "{CIncludes}stdlib.h" ∂
  346.     "{CIncludes}stdio.h"
  347.  
  348. "{ObjDir}Vector.cp.o"    ƒ ∂
  349.     "{SrcDir}Vector.cp" ∂
  350.     "{CIncludes}stdlib.h" ∂
  351.     "{CIncludes}errors.h" ∂
  352.     "{SrcDir}Vector.h" ∂
  353.     "{CIncludes}types.h" ∂
  354.     "{SrcDir}DataArea.h" ∂
  355.     "{CIncludes}stddef.h" ∂
  356.     "{CIncludes}memory.h" ∂
  357.     "{SrcDir}HandleManager.h"
  358.  
  359.